projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a96c122
)
a11y: Mark cells as defunct when deleting them
author
Benjamin Otte
<otte@redhat.com>
Sun, 12 Feb 2012 15:44:21 +0000
(16:44 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 12 Feb 2012 15:45:14 +0000
(16:45 +0100)
Just unreffing isn't enough, atk-bridge might have a reference to the
object still.
gtk/a11y/gtktreeviewaccessible.c
patch
|
blob
|
history
diff --git
a/gtk/a11y/gtktreeviewaccessible.c
b/gtk/a11y/gtktreeviewaccessible.c
index 2807e4158d4cdfa7078e1992f52e7ef201503c3b..8bec29102bb024ef542434356057805f14c866f7 100644
(file)
--- a/
gtk/a11y/gtktreeviewaccessible.c
+++ b/
gtk/a11y/gtktreeviewaccessible.c
@@
-97,6
+97,7
@@
gtk_tree_view_accessible_get_data_quark (void)
static void
cell_info_free (GtkTreeViewAccessibleCellInfo *cell_info)
{
+ gtk_accessible_set_widget (GTK_ACCESSIBLE (cell_info->cell), NULL);
g_object_unref (cell_info->cell);
g_free (cell_info);